<template>
	<tm-fullView>
		<template v-slot:default="{info}">
			<view class="grey text " :class="$tm.vx.state().tmVuetify.black?'black bk':''" :style="{minHeight:info.height+'px'}">
				<tm-menubars title="poup弹出层" color="bg-gradient-blue-accent" :showback="true"></tm-menubars>
				<tm-sheet  :shadow="24">
					<tm-button @click="pos='bottom'; show_1=true">底部弹出</tm-button>
					<tm-button @click="pos='top'; show_1=true">顶部弹出</tm-button>
					<tm-button @click="pos='left'; show_1=true">左边弹出</tm-button>
					<tm-button @click="pos='right'; show_1=true">右边弹出</tm-button>
					
					<tm-button @click="pos='center'; show_1=true">中间弹出</tm-button>
					<tm-poup v-model="show_1" :position="pos"></tm-poup>
				</tm-sheet>
			</view>
		</template>
	</tm-fullView>

</template>

<script>
	import tmFullView from "@/tm-vuetify/components/tm-fullView/tm-fullView.vue"
	import tmMenubars from "@/tm-vuetify/components/tm-menubars/tm-menubars.vue"
	import tmSheet from "@/tm-vuetify/components/tm-sheet/tm-sheet.vue"
	import tmButton from "@/tm-vuetify/components/tm-button/tm-button.vue"
	import tmPoup from "@/tm-vuetify/components/tm-poup/tm-poup.vue"
	export default {
		components:{tmFullView,tmMenubars,tmSheet,tmButton,tmPoup},
		data() {
			return {
				show_1:false,
				pos:'bottom'
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
